<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../css/reset.css">
    <link rel="stylesheet" href="../css/swiper.css">
    <link rel="stylesheet" href="http://at.alicdn.com/t/font_1516407_rud7f3pybu9.css">
    <style>
        .box .column {
            display: flex;
            margin: 20px 0px;
            padding: 10px 0px;

            width: 100%;
            border-top: 1px solid #e7e7e7;
            border-bottom: 1px solid #e7e7e7;
        }

        .box .column ul {
            display: flex;
        }

        .box .column ul li {
            padding: 5px;
            flex-direction: column;
            margin-left: 15px;

        }

        .box .column span {
            line-height: 30px;
        }
        .topnav {
            width: 100%;
            background-color: #f4f4f4;
            height: 30px;
            line-height: 30px;
            color: #666666;
            font-size: 13px;
            padding: 10px;
            margin: 20px 0px 20px 0px;
        }
        .paixu{
            display: flex;
            height: 40px;
            width: 100%;
        }
        
        .neirong{
            width: 100%;
            display: flex;
            
        }
        .neirong .zhonglei:nth-child(4){
            margin-right:0% ; 
        }
        .neirong>div{
            margin-right:2.666666% ;
            flex-direction: column;
            width: 23%;
            border: 1px solid #ececec;
            padding: 16px 5px;
        }
        .neirong div img {
            width: 100%;
        }
    </style>
</head>

<body>
    <div class="box">
        <div class="topnav">
            <span>当前位置:&nbsp; 首页 &nbsp;>全部商品&nbsp;>苹果&nbsp;>阿富汗</span>
        </div>
        <div class="column">
            <span>分类：</span>
        </div>
        <div class="column">
            <span>分类：</span>
        </div>
        <div class="paixu">
            
            <div class="left">
                    <span>排序：</span>
                <button>销量</button>
                <button>价格</button>
                <button>评分最高</button>
            </div>
            <div class="right">
                    <span>筛选：</span>
                    <button>全国</button>
                    <button>次日达</button>
            </div>
        </div>
        <div class="neirong">
            </div>
    </div>
</body>
<script src="../js/jquery-3.4.1.js"></script>
<script>
    var oul = $('<ul>').appendTo('.column');
    for (var i = 0; i < 7; i++) {
        $('<li>').appendTo(oul).html('苹果');
    }


    //便利
   for (var a = 0; a <4; a++) {
            var zhonglei = $('<div>').appendTo($('.neirong')).addClass('zhonglei');
            $('<img>').appendTo(zhonglei).attr('src', '../img/lym/lizhi.png')
            $('<strong>').appendTo(zhonglei).html('新西兰佳沛黄金果');
            $('<br>').appendTo(zhonglei)
            $('<span>').appendTo(zhonglei).html('果肉绵密，花蜜般的甘甜百吃不厌');
            var jiage=$('<div>').appendTo(zhonglei).addClass('jiage');
            $('<strong>').appendTo(jiage).html('￥28.80 &nbsp;&nbsp;');
                    $('<span>').appendTo(jiage).html('￥40.00');
                            $('<i>').appendTo(jiage).addClass('icon iconfont  icon-gouwuche');
        }
</script>

</html>